# _*_ coding : utf-8 _*_
# @Time: 2024/10/11 11:36
# @Author : 石文帅	
# @File : testcase06网格化管理.py
# @Project : python_slfh
import os
import sys

from server.slfhWorkbench import *
from selenium.webdriver.chrome.service import Service
from xpathDictionary.slfhXpath import *


from PIL import Image

from server.slfhWorkbench import login

if __name__ == '__main__':
    wd = webdriver.Chrome(service=Service(driver_path))
    wd.get(url_path)
    wd.maximize_window()
    login(wd)

    log.info('testcase07_2分类资源')
    search_menu(wd, '分类资源')

    upload_file_by_pyauto(wd, resources['分类资源-导入'], f'{path_file}分类资源-成功导入.zip')
    time.sleep(20)
















